package com.code.user.constant;

/**
 * Created by IntelliJ IDEA.
 *
 * @author: YanR
 * @date: 2023/4/17
 */
public enum AccountTypeEnum {

    PHONE(1, "phone"),
    WECHAT(2, "wechat"),
    QQ(3, "qq"),
    GITHUB(4, "github"),
    GITEE(5, "gitee")
    ;

    private Integer idx;

    private String type;

    AccountTypeEnum(Integer idx, String type) {
        this.idx = idx;
        this.type = type;
    }

    public Integer getIdx() {
        return idx;
    }

    public String getType() {
        return type;
    }
}
